package com.xb.cloud.product.service.business.model.mapper;

import java.util.List;

import com.xb.cloud.product.service.client.bo.AddressBo;
import com.xb.cloud.product.service.client.bo.BaseAddressBo;

/**
 * 
 * @ClassName: AddressMapper
 * @Description:行政区域查询mapper
 * @author: 鲜备科技
 * @date: 2018年1月18日 下午3:02:05
 * 
 * @Copyright: 2018 www.xianbeitech.com Inc. All rights reserved.
 *
 */
public interface AddressMapper {
	/**
	 * 根据provinceId，cityId和countyId查询到各自的名称
	 * 
	 * @Title getAddressDetails
	 * @param countyId
	 * @return
	 */
	public AddressBo getDetailsByCountyId(Long countyId);
	
	public List<BaseAddressBo> getProvinces(Long companyId);

	public List<BaseAddressBo> getCitys(Long provinceId);

	public List<BaseAddressBo> getCountys(Long cityId);

	public List<BaseAddressBo> getAreas(Long countyId);
}
